<template>
    <view class="container">
        <NavBar title="隐私协议" @back="goBack" />
        <view class="item" @click="goPrivacy">
            <uv-text color="#000000" text="天顺路桥隐私协议"></uv-text>
            <uv-icon name="arrow-right"></uv-icon>
        </view>
        <view class="item" @click="goUser">
            <uv-text color="#000000" text="天顺路桥用户服务协议"></uv-text>
            <uv-icon name="arrow-right"></uv-icon>
        </view>
    </view>
</template>

<script>
import NavBar from '@/components/NavBar/index.vue'
export default {
    components: { NavBar },
    data() {
        return {

        };
    },
    methods: {
        goBack() {
            uni.navigateBack({
                delta: 1
            });
        },
        goPrivacy() {
            uni.navigateTo({
                url: '/pages/privacyAgreement/privacy'
            });
        },
        goUser() {
            uni.navigateTo({
                url: '/pages/privacyAgreement/user'
            });
        }
    }
}
</script>

<style lang="scss" scoped>
.container {
    height: 100vh;
    background-color: #fff;
}

.item {
    display: flex;
    align-items: center;
    height: 160rpx;
    width: 690rpx;
    margin: 0 28rpx;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    ;
}
</style>
